//
//  TTAddAddressModel.m
//  TaoTuo
//
//  Created by 周晨晔 on 2019/9/21.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTAddAddressModel.h"

@implementation TTAddAddressModel

+ (instancetype)setTitle:(NSString *)title content:(NSString *)content placeholder:(NSString *)placeholder canClick:(BOOL)canClick field:(NSString *)field
{
    return [self setTitle:title content:content placeholder:placeholder canClick:canClick field:field keyboardType:UIKeyboardTypeDefault];
}

+ (instancetype)setTitle:(NSString *)title content:(nullable NSString *)content placeholder:(nullable NSString *)placeholder canClick:(BOOL)canClick field:(nullable NSString *)field keyboardType:(UIKeyboardType)keyboardType
{
    TTAddAddressModel *model = [[self alloc] init];
    model.title = title;
    model.content = content;
    model.placeholder = placeholder;
    model.canClick = canClick;
    model.field = field;
    model.keyboardType = keyboardType;
    return model;
    
    
}

@end
